﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSetADD" targetNamespace="http://tempuri.org/DataSetADD.xsd" xmlns:mstns="http://tempuri.org/DataSetADD.xsd" xmlns="http://tempuri.org/DataSetADD.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSetADD" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DataSetADD" msprop:Generator_UserDSName="DataSetADD" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ADM_UserAccounts" msprop:Generator_UserTableName="ADM_UserAccounts" msprop:Generator_RowDeletedName="ADM_UserAccountsRowDeleted" msprop:Generator_TableClassName="ADM_UserAccountsDataTable" msprop:Generator_RowChangedName="ADM_UserAccountsRowChanged" msprop:Generator_RowClassName="ADM_UserAccountsRow" msprop:Generator_RowChangingName="ADM_UserAccountsRowChanging" msprop:Generator_RowEvArgName="ADM_UserAccountsRowChangeEvent" msprop:Generator_RowEvHandlerName="ADM_UserAccountsRowChangeEventHandler" msprop:Generator_TablePropName="ADM_UserAccounts" msprop:Generator_TableVarName="tableADM_UserAccounts" msprop:Generator_RowDeletingName="ADM_UserAccountsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserID" msdata:Caption="UserGroupID" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Password" msprop:Generator_UserColumnName="Password" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInTable="PasswordColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserName" msdata:Caption="UserGroupName" msprop:Generator_UserColumnName="UserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" type="xs:string" minOccurs="0" />
              <xs:element name="IsActive" msprop:Generator_UserColumnName="IsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DS_Users" msprop:Generator_UserTableName="DS_Users" msprop:Generator_RowDeletedName="DS_UsersRowDeleted" msprop:Generator_TableClassName="DS_UsersDataTable" msprop:Generator_RowChangedName="DS_UsersRowChanged" msprop:Generator_RowClassName="DS_UsersRow" msprop:Generator_RowChangingName="DS_UsersRowChanging" msprop:Generator_RowEvArgName="DS_UsersRowChangeEvent" msprop:Generator_RowEvHandlerName="DS_UsersRowChangeEventHandler" msprop:Generator_TablePropName="DS_Users" msprop:Generator_TableVarName="tableDS_Users" msprop:Generator_RowDeletingName="DS_UsersRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserID" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="UserName" msprop:Generator_UserColumnName="UserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsGroup" msprop:Generator_UserColumnName="IsGroup" msprop:Generator_ColumnPropNameInRow="IsGroup" msprop:Generator_ColumnVarNameInTable="columnIsGroup" msprop:Generator_ColumnPropNameInTable="IsGroupColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="View_UserInGroups" msprop:Generator_UserTableName="View_UserInGroups" msprop:Generator_RowDeletedName="View_UserInGroupsRowDeleted" msprop:Generator_TableClassName="View_UserInGroupsDataTable" msprop:Generator_RowChangedName="View_UserInGroupsRowChanged" msprop:Generator_RowClassName="View_UserInGroupsRow" msprop:Generator_RowChangingName="View_UserInGroupsRowChanging" msprop:Generator_RowEvArgName="View_UserInGroupsRowChangeEvent" msprop:Generator_RowEvHandlerName="View_UserInGroupsRowChangeEventHandler" msprop:Generator_TablePropName="View_UserInGroups" msprop:Generator_TableVarName="tableView_UserInGroups" msprop:Generator_RowDeletingName="View_UserInGroupsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GroupID" msprop:Generator_UserColumnName="GroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GroupName" msdata:Caption="UserGroupName" msprop:Generator_UserColumnName="GroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InGroup" msprop:Generator_UserColumnName="InGroup" msprop:Generator_ColumnPropNameInRow="InGroup" msprop:Generator_ColumnVarNameInTable="columnInGroup" msprop:Generator_ColumnPropNameInTable="InGroupColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="View_UserPermissions" msprop:Generator_UserTableName="View_UserPermissions" msprop:Generator_RowDeletedName="View_UserPermissionsRowDeleted" msprop:Generator_TableClassName="View_UserPermissionsDataTable" msprop:Generator_RowChangedName="View_UserPermissionsRowChanged" msprop:Generator_RowClassName="View_UserPermissionsRow" msprop:Generator_RowChangingName="View_UserPermissionsRowChanging" msprop:Generator_RowEvArgName="View_UserPermissionsRowChangeEvent" msprop:Generator_RowEvHandlerName="View_UserPermissionsRowChangeEventHandler" msprop:Generator_TablePropName="View_UserPermissions" msprop:Generator_TableVarName="tableView_UserPermissions" msprop:Generator_RowDeletingName="View_UserPermissionsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Functionkey" msprop:Generator_UserColumnName="Functionkey" msprop:Generator_ColumnPropNameInRow="Functionkey" msprop:Generator_ColumnVarNameInTable="columnFunctionkey" msprop:Generator_ColumnPropNameInTable="FunctionkeyColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FunctionName" msprop:Generator_UserColumnName="FunctionName" msprop:Generator_ColumnPropNameInRow="FunctionName" msprop:Generator_ColumnVarNameInTable="columnFunctionName" msprop:Generator_ColumnPropNameInTable="FunctionNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsPermiss" msprop:Generator_UserColumnName="IsPermiss" msprop:Generator_ColumnPropNameInRow="IsPermiss" msprop:Generator_ColumnVarNameInTable="columnIsPermiss" msprop:Generator_ColumnPropNameInTable="IsPermissColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ADM_UserAccounts" />
      <xs:field xpath="mstns:UserID" />
    </xs:unique>
    <xs:unique name="DS_Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DS_Users" />
      <xs:field xpath="mstns:UserID" />
    </xs:unique>
    <xs:unique name="View_UserInGroups_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:View_UserInGroups" />
      <xs:field xpath="mstns:GroupID" />
    </xs:unique>
    <xs:unique name="View_UserPermissions_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:View_UserPermissions" />
      <xs:field xpath="mstns:Functionkey" />
    </xs:unique>
  </xs:element>
</xs:schema>